package com.example.ecmftlutil;
import java.util.ArrayList;
import java.util.List;

class HierarchicalItem {
    int id;
    int parentId;
    String name;

    HierarchicalItem(int id, int parentId, String name) {
        this.id = id;
        this.parentId = parentId;
        this.name = name;
    }

    @Override
    public String toString() {
        return name;
    }
}
